
import {Patient} from "./Patient";
import * as api from "../../api/index";
class Prescription{

    baseUrl
    user

    constructor(baseUrl) {
        this.baseUrl = baseUrl
        this.user = new Patient()
    }

    async setUserDrug(params) {
        return await api.setUserDrug(params,this.baseUrl)
    }

    async getUserDrugDetail(id) {
        return await api.getUserDrugDetail(id,this.baseUrl)
    }

}
export {
    Prescription
}
